#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Result/Optimization/OptimizationBase.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct GRIDNEWData : public OptimizationBase {
  SG::DataStructure::Common::I64 m_CP = 0;       ///<
  SG::DataStructure::Common::Real m_X[3] = {0};  ///<
  SG::DataStructure::Common::I64 m_CD = 0;       ///<
  SG::DataStructure::Common::I64 m_PS = 0;       ///<
  SG::DataStructure::Common::Id m_SEID = 0;      ///<
  SG::DataStructure::Common::Id m_domainId = 0;  ///<
};

///< @brief 判断数据是否相等
DECLSPEC bool operator==(const GRIDNEWData& val1, const GRIDNEWData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
